package com.cj.bookstore.pay;


import com.cj.bookstore.common.pojo.BSResult;
import com.cj.bookstore.common.utils.BSResultUtil;
import com.cj.bookstore.model.entity.BookInfo;
import com.cj.bookstore.model.entity.Orders;

import javax.servlet.http.HttpServletResponse;

public abstract class AbstractPay implements IPayService {

    @Override
    public BSResult pay(PayContext payContext) throws Exception {
        prepareAndPay(payContext);
        return BSResultUtil.success();
    }


}
